package com.example.administrator.music;

import android.content.ComponentName;
import android.content.ServiceConnection;
import android.os.IBinder;

/**
 * Created by Administrator on 2017/3/22.
 */

public class MusicConnection implements ServiceConnection {
    private Progressor progressor;
    public Progressor getProgressor(){
        return progressor;
    }
    @Override
    public void onServiceConnected(ComponentName name, IBinder service) {
        progressor=(Progressor)service;
    }

    @Override
    public void onServiceDisconnected(ComponentName name) {

    }
}
